package com.yeyks.consumer.dal.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 优惠券推送表
 * </p>
 *
 * @author yun
 * @since 2019-12-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserCouponPush对象", description="优惠券推送表")
public class UserCouponPush implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId("id")
    private Integer id;

    @ApiModelProperty(value = "推送标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "推送开始时间")
    @TableField("push_start_time")
    private Date pushStartTime;

    @ApiModelProperty(value = "推送结束时间")
    @TableField("push_end_time")
    private Date pushEndTime;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private Date gmtCreate;

    @ApiModelProperty(value = "推送优惠券Id集合")
    @TableField("coupon_id_json")
    private String couponIdJson;

    @ApiModelProperty(value = "推送账户Id集合")
    @TableField("user_id_json")
    private String userIdJson;


    public static final String ID = "id";

    public static final String TITLE = "title";

    public static final String PUSH_START_TIME = "push_start_time";

    public static final String PUSH_END_TIME = "push_end_time";

    public static final String GMT_CREATE = "gmt_create";

    public static final String COUPON_ID_JSON = "coupon_id_json";

    public static final String USER_ID_JSON = "user_id_json";

}
